/*
 * Copyright 2025 The JA-SIG Collaborative. All rights reserved.
 * distributed with this file and available online at
 */
package com.lap.auth.adapter.driving.persistence.header.mapper;

import com.lap.auth.adapter.driving.persistence.header.po.HeaderPo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface HeaderMapper {

  void insert(HeaderPo headerPo);

  HeaderPo selectByUserIdAndCode(@Param("userId") Integer userId, @Param("code") String code);

  int updateById(HeaderPo headerPo);
}
